package com.sc.admin.mapper;

import java.util.List;
import com.sc.admin.common.MysqlQuery;
import com.sc.admin.pojo.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

	int selectCount();

	List<User> selectUsers(MysqlQuery<User> mysqlQuery);

	User selectUserByUser(User user);
}